#!/bin/sh

PORT=$CPORT

if test $# -gt 0 ; then
    PORT=$1
fi

cd ${0%/*}

export PATH=bin:PATH
./stop.sh > /dev/null 2>&1
./bin/$SOFTWAREd
./bin/mini_httpd -C mini_httpd.$SOFTWARE -p $PORT && \
echo started on port $PORT based in $(pwd) && echo
